
<div class='span12'>
    <!-- HEADER -->
    <div class='row-fluid'>
        <div class='span12'>
            <div class='page-header'>
                <h1>
                    <i class='icon-cogs'></i>
                    <span>SETTINGS</span>
                </h1>
            </div>
        </div>
    </div>

    <!-- END OF HEADER -->


    <div class="row-fluid">
        <div class="span12 box bordered-box blue-border">
            <div class="box-header dark-background">
                <div class="title">SEO SETTINGS</div>
                <div class="actions">
                    <a href="#" class="btn box-remove btn-mini btn-link"><i class="icon-remove"></i>
                    </a>
                    <a href="#" class="btn box-collapse btn-mini btn-link"><i></i>
                    </a>
                </div>
            </div>

            <div class="box-content">
                <p>
                    <small>SEO Settings</small>

                </p>

                    <form accept-charset="<?= Settings::get('en','charecter_set');?>" action="<?= URL::current(); ?>" class="form form-horizontal "
                          method="post">

                        <div>
                            <?= Form::token(); ?>
                        </div>

                        <p class="text-dark-orange">
                            <?=
                            (Session::get('message') ? Session::get('message') : '');
                            ?>
                        </p>

                                                <hr class="hr-normal">

                        <strong>Listing Page</strong>
                        <p>Variable Help : {title} = Title, {location} = Location, {category} = Category</p>

                        <div class="control-group">
                            <label class="control-label"> Meta Title <span class="text text-error">* </span></label>

                            <div class="controls">
                                <input class="input-xxlarge" name="seo_listing_title"
                                       value="<?= Settings::get('en','seo_listing_title');?>"
                                       placeholder="Listing Page Meta Title"
                                       type="text" >
                                <span class="text text-error"><?php echo $errors->first('seo_listing_title') ?></span>
                            </div>
                        </div>
                        <div class="control-group">
                            <label class="control-label"> Meta Keyword </label>

                            <div class="controls">
                                <textarea class="form-control input-xxlarge" rows="2" name="seo_listing_keyword"><?= Settings::get('en','seo_listing_keyword');?></textarea>
                            </div>
                        </div>
                        <div class="control-group">
                            <label class="control-label"> Meta Description </label>

                            <div class="controls">
                                <textarea class="form-control input-xxlarge" rows="2" name="seo_listing_description"><?= Settings::get('en','seo_listing_description');?></textarea>
                            </div>
                        </div>



                        <hr class="hr-normal">

                        <strong>Search Page</strong>
                        <p>Variable Help : {title} = Title, {location} = Location, {category} = Category</p>

                        <div class="control-group">
                            <label class="control-label"> Meta Title <span class="text text-error">*</span></label>

                            <div class="controls">
                                <input class="input-xxlarge" name="seo_search_title"
                                       value="<?= Settings::get('en','seo_search_title');?>"
                                       placeholder="Search Page Meta Title"
                                       type="text" >
                                <span class="text text-error"><?php echo $errors->first('seo_search_title') ?></span>
                            </div>
                        </div>
                        <div class="control-group">
                            <label class="control-label"> Meta Keyword </label>

                            <div class="controls">
                                <textarea class="form-control input-xxlarge" rows="2" name="seo_search_keyword"><?= Settings::get('en','seo_search_keyword');?></textarea>
                            </div>
                        </div>
                        <div class="control-group">
                            <label class="control-label"> Meta Description </label>

                            <div class="controls">
                                <textarea class="form-control input-xxlarge" rows="2" name="seo_search_description"><?= Settings::get('en','seo_search_description');?></textarea>
                            </div>
                        </div>

                        <div class="form-actions">
                            <button class="btn btn-primary" type="submit" name="btnSave" value="save"  <?php if(Config::get('application.mode')){?>onclick="alert ('Sorry! Not allowed in demo mode '); return false;" 
                                        <?}else{?>onclick="return confirm('Are you sure ?');"<?php }?>>
                                <i class="icon-save"></i>
                                Save
                            </button>

                        </div>
                    </form>


        </div>
    </div>


    <!-- END OF CONTENT -->
</div>
